#ifndef INCLUDED_HEALTH_H // preprocessor directives
#define INCLUDED_HEALTH_H

#include <SGE.h>
using namespace SGE;

class Health
 {
 public:
	 Health();
	 ~Health();

	 void Load(); // initialize
	 void Unload(); // terminate
	 void Render(const SVector2& offset);

	 int GetHealth()					{ return mHealth; }
	 void Damage(int damageTaken)		{ mHealth -= damageTaken; }
	 bool IsActive() const				{ return mActive; };

 private:
	 SGE_Sprite mSprite;
	 SVector2 mPosition;
	 int mHealth;
	 bool mActive;
 };

#endif // #ifndef INCLUDED_HEALTH_H